package com.sw.c.mapper.mongodb;

import com.sw.c.pojo.entity.UserMongoDB;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface UserMongo extends MongoRepository<UserMongoDB,String> {
    UserMongoDB findByName(String name);

    List<UserMongoDB> findAll();
}

